package com.autumn.word;

import java.io.IOException;

import com.autumn.word.pdf.PdfProperties;

/**
 * Word 选项
 * 
 * @author 老码农 2019-04-24 01:34:11
 */
public interface WorkWithOptional {

	/**
	 * 解析
	 * 
	 * @param obj
	 *            对象
	 * @return
	 */
	WorkEvaluateWithOptional evaluate(Object obj) throws IOException;

	/**
	 * 解析
	 * 
	 * @param obj
	 *            对象
	 * @param options
	 *            选项
	 * @return
	 */
	WorkEvaluateWithOptional evaluate(Object obj, EvaluateOptions options) throws IOException;

	/**
	 * 解析
	 * 
	 * @param obj
	 *            对象
	 * @param Token
	 *            标记
	 * @param options
	 *            选项
	 * @return
	 */
	WorkEvaluateWithOptional evaluate(Object obj, Token token, EvaluateOptions options) throws IOException;

	/**
	 * 转为Pdf
	 * 
	 * @return
	 */
	WorkEvaluateWithOptionalTarget toPdf();

	/**
	 * 转为Pdf
	 * 
	 * @param pdfProperties
	 *            属性
	 * @return
	 */
	WorkEvaluateWithOptionalTarget toPdf(PdfProperties pdfProperties);

}
